package com.inei.cenacom.controller;

import java.util.List;

import android.content.Context;

import com.inei.cenacom.model.dao.MarcoDao;
import com.inei.cenacom.model.entity.Login;
import com.inei.cenacom.model.entity.Marco;

public class MarcoController {
	MarcoDao dao;

	public MarcoController(Context context) {
		dao = new MarcoDao(context);
	}
	
	public List<Marco> leerTodo(){
		return dao.leerTodo();
	}
	
	public List<Marco> leer(Login o){
		return dao.leer(o);
	}
}
